package com.doit.学;

import java.io.*;

public class demo02 {
    public static void main(String[] args) throws IOException {
        FileInputStream fileInputStream = new FileInputStream("D:\\work\\abc\\于和伟.mp4");
        BufferedInputStream br = new BufferedInputStream(fileInputStream);
        FileOutputStream fileOutputStream = new FileOutputStream("D:\\work\\abc\\于达伟.mp4");
        BufferedOutputStream bw = new BufferedOutputStream(fileOutputStream);

        int b;
        while ((b=br.read())!=-1){
            bw.write(b);
        }

    }
}
